//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Joyner Lucas','Uptown Theatre Minneapolis','Minneapolis, MN','Saturday','5/11/2024','7:30 PM','6308432','Joyner-Lucas-5-11-2024'],['Netflix Is A Joke Festival: Lucas Zelnick','Regent Theatre - CA','Los Angeles, CA','Sunday','5/12/2024','7:00 PM','6246491','Netflix-Is-A-Joke-Festival--Lucas-Zelnick-5-12-2024'],['Joyner Lucas','Danforth Music Hall Theatre','Toronto, Canada','Monday','5/13/2024','7:00 PM','6308463','Joyner-Lucas-5-13-2024'],['Joyner Lucas','The Fillmore - Detroit','Detroit, MI','Wednesday','5/15/2024','8:00 PM','6304287','Joyner-Lucas-5-15-2024'],['Joyner Lucas','Riviera Theatre - IL','Chicago, IL','Thursday','5/16/2024','7:30 PM','6307990','Joyner-Lucas-5-16-2024'],['Joyner Lucas','Agora Theatre','Cleveland, OH','Saturday','5/18/2024','8:00 PM','6307994','Joyner-Lucas-5-18-2024'],['Joyner Lucas','Bayou Music Center','Houston, TX','Thursday','5/30/2024','8:00 PM','6307993','Joyner-Lucas-5-30-2024'],['Joyner Lucas','The Aztec Theatre ','San Antonio, TX','Friday','5/31/2024','8:00 PM','6307999','Joyner-Lucas-5-31-2024'],['Joyner Lucas','Marquee Theatre - AZ','Tempe, AZ','Friday','6/7/2024','7:30 PM','6308459','Joyner-Lucas-6-7-2024'],['Joyner Lucas','Warfield','San Francisco, CA','Wednesday','6/12/2024','8:00 PM','6307991','Joyner-Lucas-6-12-2024'],['Joyner Lucas','Paramount Theatre - Seattle','Seattle, WA','Friday','6/14/2024','8:00 PM','6307992','Joyner-Lucas-6-14-2024'],['Killers of Kill Tony: Kam Patterson, David Lucas, Hans Kim & David Jolly','Shubert Theatre At The Boch Center','Boston, MA','Saturday','7/27/2024','7:00 PM','6400664','Killers-of-Kill-Tony--Kam-Patterson--David-Lucas--Hans-Kim---David-Jolly-7-27-2024'],['Killers of Kill Tony: Kam Patterson, David Lucas, Hans Kim & David Jolly','Paramount Theatre - Denver','Denver, CO','Friday','9/6/2024','7:00 PM','6403597','Killers-of-Kill-Tony--Kam-Patterson--David-Lucas--Hans-Kim---David-Jolly-9-6-2024'],['Killers of Kill Tony: Kam Patterson, David Lucas, Hans Kim & David Jolly','Carpenter Theatre At Dominion Energy Center','Richmond, VA','Friday','9/20/2024','7:00 PM','6400662','Killers-of-Kill-Tony--Kam-Patterson--David-Lucas--Hans-Kim---David-Jolly-9-20-2024'],['Killers of Kill Tony: Kam Patterson, David Lucas, Hans Kim & David Jolly','Riverside Theater - WI','Milwaukee, WI','Friday','10/4/2024','7:00 PM','6401322','Killers-of-Kill-Tony--Kam-Patterson--David-Lucas--Hans-Kim---David-Jolly-10-4-2024'],['Killers of Kill Tony: Kam Patterson, David Lucas, Hans Kim, David Jolly & Jetski Johnson','Orpheum Theatre - Minneapolis','Minneapolis, MN','Saturday','10/5/2024','7:00 PM','6403707','Killers-of-Kill-Tony--Kam-Patterson--David-Lucas--Hans-Kim--David-Jolly---Jetski-Johnson-10-5-2024'],['Killers of Kill Tony: Kam Patterson, David Lucas, Hans Kim & David Jolly','Coronado Performing Arts Center','Rockford, IL','Saturday','10/19/2024','7:00 PM','6400660','Killers-of-Kill-Tony--Kam-Patterson--David-Lucas--Hans-Kim---David-Jolly-10-19-2024'],['Killers of Kill Tony: Kam Patterson, David Lucas, Hans Kim & David Jolly','Masonic Temple Theatre','Detroit, MI','Saturday','11/9/2024','5:30 PM','6403520','Killers-of-Kill-Tony--Kam-Patterson--David-Lucas--Hans-Kim---David-Jolly-11-9-2024']],'Lucas Theatre','http://www.ticketnetwork.com/ticket/Lucas-Theatre-events.aspx');